package com.headfirst.StructuralMode.proxypattern.version1;

public class FoodServiceImpl implements FoodService{
    @Override
    public Food makeChicken() {
        System.out.println("制作鸡肉中...");
        Food food = new Chicken();
        food.setChicken("1kg");
        food.setSpicy("1g");
        food.setSalt("3g");
        return food;
    }

    @Override
    public Food makeNoodle() {
        System.out.println("制作鸡肉中...");
        Food f = new Noodle();
        f.setNoodle("500g");
        f.setSalt("5g");
        return f;
    }
}
